<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <button id="bt">发送请求yoyo</button>
</body>
<script>
    const $api = axios.create({
        baseURL: 'http://127.0.0.1:4523/m1/1718966-0-default/logo'
    })
    document.querySelector('#bt').addEventListener('click', async () => {
        const res = await $api.post('/logo')
        console.log('请求的结果是：', res);
    })
</script>

</html>